//
//  WKDelegateVC.m
//  campus
//
//  Created by xl on 2020/3/5.
//  Copyright © 2020 xl. All rights reserved.
//

#import "WKDelegateVC.h"

@interface WKDelegateVC ()

@end

@implementation WKDelegateVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message {
    if ([self.delegate respondsToSelector:@selector(userContentController:didReceiveScriptMessage:)]) {
        [self.delegate userContentController:userContentController didReceiveScriptMessage:message];
    }
}
@end
